# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=sierrabreezeenhanced
pkgver=2.0.1
pkgrel=0
pkgdesc="A fork of BreezeEnhanced to make it (arguably) more minimalistic and informative"
url="https://github.com/kupiqu/SierraBreezeEnhanced"
# armhf blocked by extra-cmake-modules
# s390x and riscv64 blocked by kconfigwidgets
arch="all !armhf !s390x !riscv64"
license="LicenseRef-KDE-Accepted-GPL"
makedepends="
	extra-cmake-modules
	kconfigwidgets-dev
	kcoreaddons-dev
	kdecoration-dev
	kguiaddons-dev
	ki18n-dev
	kiconthemes-dev
	kwindowsystem-dev
	kcmutils-dev
	qt6-qtbase-dev
	qt6-qt5compat-dev
	"
source="https://github.com/kupiqu/SierraBreezeEnhanced/archive/V$pkgver/SierraBreezeEnhanced-V$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/SierraBreezeEnhanced-$pkgver"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
1c7f55e979c854135a4c6e21d9838df8de0b7dd0ee252f100c8b622e72224d19bf8e06318ad43367112f6c3422ac5ac44242b74635cce5e96107c1ea447ce838  SierraBreezeEnhanced-V2.0.1.tar.gz
"
